//
//  UIColor+MMAdd.h
//  oc_demo
//
//  Created by haigui on 2021/8/5.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (MMAdd)

/// 16进制颜色
/// @param color 字符串
+ (UIColor *)colorWithHexString:(NSString *)color;

/// 16进制颜色
/// @param color 字符串
/// @param alpha 透明度
+ (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

@end

NS_ASSUME_NONNULL_END
